package com.donquijote.spring14.aspect;

import org.aspectj.lang.annotation.Aspect;
import org.aspectj.lang.annotation.Before;
import org.springframework.core.annotation.Order;
import org.springframework.stereotype.Component;

/**
 * @author 421527548@qq.com
 * @version V1.0
 * @title
 * @description
 * @date 2022-11-29 17:25
 */
@Component("securityAspect")
@Aspect
@Order(2)
public class SecurityAspect {

    @Before("com.donquijote.spring14.aspect.LogAspect.generalPoint()")
    public void beforeAdvice(){
        System.out.println("前置通知 ..安全");
    }
}
